"""
1石头2剪刀3布
random():随机数函数
"""
import random
my = int(input("我出的是："))
com = random.randint(1,3)

if (my==1 and com==2)or(my==2 and com==3)or(my==3 and com==1):
    print("my:%d -> com:%d 玩家胜"% (my,com))
elif  my == com:
    print("my:%d -> com:%d 平局"% (my,com))
else:
    print("my:%d -> com:%d 玩家败"% (my,com))